package util;

import com.alibaba.fastjson.JSONObject;

public class ResponseData {
    private int code;
    private JSONObject body;

    public ResponseData(int code, JSONObject body) {
        this.code = code;
        this.body = body;
    }
    public ResponseData(){

    }
    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public JSONObject getBody() {
        return body;
    }

    public void setBody(JSONObject body) {
        this.body = body;
    }

    @Override
    public String toString() {
        return "ResponseData{" +
                "code=" + code +
                ", body=" + body +
                '}';
    }
}
